import React, {useEffect} from 'react';
import styles from './index.css';
import { queryByUpdate } from '../../api/request'

export default function Page(props) {

  useEffect(()=>{
    queryByUpdate({
      activityBasicId:props.location.state.activityBasicId
    }).then((res)=>{
      console.log(res);
    })
  },[]);

  return (
    <div>
      <h1 className={styles.title}>{props.location.state.activityBasicId}</h1>
    </div>
  );
}
